<script setup>
  import { ref } from 'vue'
  const count = ref(0)
</script>

<template>
  <div>
    <h1>首页</h1>
    <button @click="count++">点击了{{ count }}次</button>
  </div>
</template>

<style scoped></style>